package com.bdcom.model;

import org.springframework.data.annotation.Id;

public class DeviceType {
	
	//类型名称
	@Id
	private String typeName;
	//设备图片
	private String iamgePath="image/device.png";
	//支持的频宽
	private boolean enable2gFrequencyBandwidth;
	
	private boolean enable5gFrequencyBandwidth;
	//信道
	private int channel2g;
	
	private int channel5g;
	//ssid
	private String ssid2g;
	
	private String ssid5g;
	//功率
	private int power2g;
	
	private int power5g;
	//带宽
	private int bandWidth2g;
	
	private int bandWidth5g;
	//协议
	private String protocol2g;
	
	private String protocol5g;
	//无线增益
	private int wirelessGain2g;

	private int wirelessGain5g;

	//getter and setter
	
	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public String getIamgePath() {
		return iamgePath;
	}

	public void setIamgePath(String iamgePath) {
		this.iamgePath = iamgePath;
	}

	public boolean isEnable2gFrequencyBandwidth() {
		return enable2gFrequencyBandwidth;
	}

	public void setEnable2gFrequencyBandwidth(boolean enable2gFrequencyBandwidth) {
		this.enable2gFrequencyBandwidth = enable2gFrequencyBandwidth;
	}

	public boolean isEnable5gFrequencyBandwidth() {
		return enable5gFrequencyBandwidth;
	}

	public void setEnable5gFrequencyBandwidth(boolean enable5gFrequencyBandwidth) {
		this.enable5gFrequencyBandwidth = enable5gFrequencyBandwidth;
	}

	public int getChannel2g() {
		return channel2g;
	}

	public void setChannel2g(int channel2g) {
		this.channel2g = channel2g;
	}

	public int getChannel5g() {
		return channel5g;
	}

	public void setChannel5g(int channel5g) {
		this.channel5g = channel5g;
	}

	public String getSsid2g() {
		return ssid2g;
	}

	public void setSsid2g(String ssid2g) {
		this.ssid2g = ssid2g;
	}

	public String getSsid5g() {
		return ssid5g;
	}

	public void setSsid5g(String ssid5g) {
		this.ssid5g = ssid5g;
	}

	public int getPower2g() {
		return power2g;
	}

	public void setPower2g(int power2g) {
		this.power2g = power2g;
	}

	public int getPower5g() {
		return power5g;
	}

	public void setPower5g(int power5g) {
		this.power5g = power5g;
	}

	public int getBandWidth2g() {
		return bandWidth2g;
	}

	public void setBandWidth2g(int bandWidth2g) {
		this.bandWidth2g = bandWidth2g;
	}

	public int getBandWidth5g() {
		return bandWidth5g;
	}

	public void setBandWidth5g(int bandWidth5g) {
		this.bandWidth5g = bandWidth5g;
	}

	public String getProtocol2g() {
		return protocol2g;
	}

	public void setProtocol2g(String protocol2g) {
		this.protocol2g = protocol2g;
	}

	public String getProtocol5g() {
		return protocol5g;
	}

	public void setProtocol5g(String protocol5g) {
		this.protocol5g = protocol5g;
	}

	public int getWirelessGain2g() {
		return wirelessGain2g;
	}

	public void setWirelessGain2g(int wirelessGain2g) {
		this.wirelessGain2g = wirelessGain2g;
	}

	public int getWirelessGain5g() {
		return wirelessGain5g;
	}

	public void setWirelessGain5g(int wirelessGain5g) {
		this.wirelessGain5g = wirelessGain5g;
	}

	@Override
	public String toString() {
		return typeName;
	}
	
}
